// 公共 actions
export default {
  // 获取用户信息
  async getUserInfoActions({ commit }) {
    return new Promise((resolve) => {
      setTimeout(() => {
        const data = {
          userName: '种子的信仰',
          level: 1,
          email: '516115887@qq.com',
          phone: '13588888888',
          cityName: '南宁',
          token: 'xxxx',
        };
        commit('setUserInfo', data);
        resolve();
      }, 300);
    });
  },
};
